package com.xwks.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author xwks
 * @since 2023-09-09
 */
@Data
@TableName("t_general")
@ApiModel(value = "General对象", description = "")
public class General implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("武将名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("头像url")
    @TableField("img_url")
    private String imgUrl;

    @ApiModelProperty("所属势力")
    @TableField("country")
    private String country;

    @ApiModelProperty("删除标识")
    @TableField("is_delete")
    private Integer isDelete;


}